package com.hmall.user.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 权限资源关联表，用于将权限绑定到特定资源上，实现更加详细的权限控制
 * @TableName sys_permission_resources
 */
@TableName(value ="sys_permission_resources")
@Data
public class SysPermissionResources implements Serializable {
    /**
     * 权限id
     */
    private Integer permissionId;

    /**
     * 资源id
     */
    private Integer resourceId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}